using System;
using System.Collections.Generic;
using System.Text;

namespace FE
{
    public class Stat
    {
        private int value;
        private int growth;
        private int cap;
        public Stat (int Value, int Growth, int Cap) 
        {
            value = Value;
            growth = Growth;
            cap = Cap;
        }

        public int Value
        {
            get { return value; }
        }

        public void Grow ()
        {
            if (Game.RNG.Pass(growth))
            {
                value = Value + Game.RNG.Int(1, 5);;
            }
        }
    }
}
